export default {
  inserted: function(el, binding) {
    el.addEventListener('error', function() {
      console.log(binding)
      el.src = binding.value
    })
  }
}
